import axios from '@/libs/api.request'

const prefix = '/api/v1/apply/'
const applyApi = {
  refuseApplyNoRelationTrainCenter (messageId) {
    return axios.request({
      url: prefix + 'refuseApplyNoRelationTrainCenter/' + messageId,
      method: 'post'
    })
  },
  agreeApplyNoRelationTrainCenter (messageId) {
    return axios.request({
      url: prefix + 'agreeApplyNoRelationTrainCenter/' + messageId,
      method: 'post'
    })
  },

  message (data) {
    
    return axios.request({
      url: prefix + 'message?pageSize='+data.pageSize+'&currentPage='+data.currentPage,
      // data: data,
      method: 'get'
    })
  }

}

export default applyApi
